﻿using Zwt.System.Model;

namespace Zwt.System.Interfaces.IService
{
    public interface ISysUsersService : IBaseService<Sys_Users>
    {

        #region CustomInterface 

        /// <summary>
        /// 获取用户权限标识
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        List<string> GetUserPowers(string userId);

        /// <summary>
        /// 获取用户拥有的数据权限列表
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        List<Sys_UserRelation> GetUserRelation(string userId);

        #endregion

    }
}
